package com.weeho.dongyong.entity;

import java.util.Date;

/**
 * Created by yincl on 16/3/9.
 */
public class Versions {

    private Integer id;//                   逻辑主键
    private Integer versionsTypeId;//       版本类型ID
    private String versionsTypeName;//       版本类型名称
    private String versionNum;//            版本号（四段式）
    private String latestVersionNum;//      最新版本号
    private String latestURL;//             最新版本下载地址
    private String latestVersionInfo;//     最新版本信息
    private String sizeText;//              大小(文本)
    private String forceUpdateTip;//        强制更新提醒
    private Date createTime;//               新数据的生成时间
    private Date updateTime;//               数据的最后修改时间

    private String version;
    public Versions() {

    }

    public Versions(Integer id, Integer versionsTypeId, String versionsTypeName, String versionNum, String latestVersionNum, String latestURL, String latestVersionInfo, String sizeText, String forceUpdateTip, Date createdAt, Date updatedAt) {
        this.id = id;
        this.versionsTypeId = versionsTypeId;
        this.versionsTypeName = versionsTypeName;
        this.versionNum = versionNum;
        this.latestVersionNum = latestVersionNum;
        this.latestURL = latestURL;
        this.latestVersionInfo = latestVersionInfo;
        this.sizeText = sizeText;
        this.forceUpdateTip = forceUpdateTip;
        this.createTime = createdAt;
        this.updateTime = updatedAt;
    }

    public String getVersionsTypeName() {
        return versionsTypeName;
    }

    public void setVersionsTypeName(String versionsTypeName) {
        this.versionsTypeName = versionsTypeName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVersionsTypeId() {
        return versionsTypeId;
    }

    public void setVersionsTypeId(Integer versionsTypeId) {
        this.versionsTypeId = versionsTypeId;
    }

    public String getErsionsTypeName() {
        return versionsTypeName;
    }

    public void setErsionsTypeName(String versionsTypeName) {
        this.versionsTypeName = versionsTypeName;
    }

    public String getVersionNum() {
        return versionNum;
    }

    public void setVersionNum(String versionNum) {
        this.versionNum = versionNum;
    }

    public String getLatestVersionNum() {
        return latestVersionNum;
    }

    public void setLatestVersionNum(String latestVersionNum) {
        this.latestVersionNum = latestVersionNum;
    }

    public String getLatestURL() {
        return latestURL;
    }

    public void setLatestURL(String latestURL) {
        this.latestURL = latestURL;
    }

    public String getLatestVersionInfo() {
        return latestVersionInfo;
    }

    public void setLatestVersionInfo(String latestVersionInfo) {
        this.latestVersionInfo = latestVersionInfo;
    }

    public String getSizeText() {
        return sizeText;
    }

    public void setSizeText(String sizeText) {
        this.sizeText = sizeText;
    }

    public String getForceUpdateTip() {
        return forceUpdateTip;
    }

    public void setForceUpdateTip(String forceUpdateTip) {
        this.forceUpdateTip = forceUpdateTip;
    }

    public Date getCreatedAt() {
        return createTime;
    }

    public void setCreatedAt(Date createdAt) {
        this.createTime = createdAt;
    }

    public Date getUpdatedAt() {
        return updateTime;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updateTime = updatedAt;
    }

    @Override
    public String toString() {
        return "Versions{" +
                "id=" + id +
                ", versionsTypeId=" + versionsTypeId +
                ", versionsTypeName='" + versionsTypeName + '\'' +
                ", versionNum='" + versionNum + '\'' +
                ", latestVersionNum='" + latestVersionNum + '\'' +
                ", latestURL='" + latestURL + '\'' +
                ", latestVersionInfo='" + latestVersionInfo + '\'' +
                ", sizeText='" + sizeText + '\'' +
                ", forceUpdateTip='" + forceUpdateTip + '\'' +
                ", createdAt=" + createTime +
                ", updatedAt=" + updateTime +
                '}';
    }
}
